Return to start page

Core/General/Struct Asl.j

Code

		
1			library AStructCoreGeneralAsl requires optional ALibraryCoreDebugMisc, ALibraryCoreStringConversion
2
3 struct Asl
4 public static constant string version = "0.1"
5 public static constant string maintainer = "Tamino Dauth"
6 public static constant string website = "http://sourceforge.net/projects/vjasssdk/"
7
8 private static method create takes nothing returns thistype
9 return 0
10 endmethod
11
12 private method onDestroy takes nothing returns nothing
13 endmethod
14
15 public static method init takes nothing returns nothing
16 debug call Print(tr("Initializing Advanced Script Library"))
17 debug call Print(StringArg(tr("Version: %s"), thistype.version))
18 debug call Print(StringArg(tr("Maintainer: %s"), thistype.maintainer))
19 debug call Print(StringArg(tr("Website: %s"), thistype.website))
20 endmethod
21
22 //static members
23
24 public static constant method useRtc takes nothing returns boolean
25 return A_RTC
26 endmethod
27
28 public static constant method useJapi takes nothing returns boolean
29 return A_JAPI
30 endmethod
31
32 public static constant method useObjects takes nothing returns boolean
33 return A_OBJECTS
34 endmethod
35
36 public static constant method useDebugHandles takes nothing returns boolean
37 return A_DEBUG_HANDLES
38 endmethod
39 endstruct
40
41 endlibrary